package com.beiben.experiment.frock.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工装信息对象 experiment_frock
 * 
 * @author 熊国强
 * @date 2020-11-11
 */
public class Frock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工装ID */
    private Long frockId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String model;

    /** 编号 */
    @Excel(name = "编号")
    private String code;

    /** 功能 */
    @Excel(name = "功能")
    private String functionName;

    /** 使用状态（0：完好、1：维修、2：禁用） */
    @Excel(name = "使用状态", readConverterExp = "0=完好,1=维修,2=禁用")
    private Integer useState;

    public void setFrockId(Long frockId) 
    {
        this.frockId = frockId;
    }

    public Long getFrockId() 
    {
        return frockId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setFunctionName(String functionName) 
    {
        this.functionName = functionName;
    }

    public String getFunctionName() 
    {
        return functionName;
    }
    public void setUseState(Integer useState) 
    {
        this.useState = useState;
    }

    public Integer getUseState() 
    {
        return useState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("frockId", getFrockId())
            .append("name", getName())
            .append("model", getModel())
            .append("code", getCode())
            .append("functionName", getFunctionName())
            .append("useState", getUseState())
            .toString();
    }
}
